package com.qtcm.nas.fyx.bendianhuiyuan.service.impl;

import com.qtcm.nas.fyx.bendianhuiyuan.dao.IBendhyDao;
import com.qtcm.nas.fyx.bendianhuiyuan.service.IBendhyService;
import com.qtcm.nas.fyx.huiyuantianjia.pojo.MemberShip;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("bendhyService")
public class BendhyService implements IBendhyService {
    @Autowired
    @Qualifier("bendhyDao")
    private IBendhyDao bendhyDao;
    @Override
    public int lovecar(int hyid) {return bendhyDao.lovecar(hyid);}
    @Override
    public int bigcount(int hyid) {
        return bendhyDao.bigcount(hyid);
    }
    @Override
    public int dingdcs(int hyid) {
        return bendhyDao.dingdcs(hyid);
    }
    @Override
    public List<MemberShip> findAll() {
        return bendhyDao.findAll();
    }

    @Override
    public int chuzhi(int hyid) {
        return bendhyDao.chuzhi(hyid);
    }

    @Override
    public int nianka(int hyid) {
        return bendhyDao.nianka(hyid);
    }

    @Override
    public int findddid(int hyid) {
        return bendhyDao.findddid(hyid);
    }
}
